package com.swpu.service_drink.service.impl;

import com.swpu.service_drink.entity.Drink;
import com.swpu.service_drink.mapper.DrinkMapper;
import com.swpu.service_drink.service.DrinkService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author chaichai
 * @since 2024-02-28
 */
@Service
public class DrinkServiceImpl extends ServiceImpl<DrinkMapper, Drink> implements DrinkService {

    @Override
    public List<Drink> getAllDrinkCategory() {
        return this.list(null);
    }
}
